let  loginmenu=document.querySelectorAll('.login-menu p')
let  look=document.querySelectorAll('.look')

let btn=document.querySelector('button')

let index=0

loginmenu.forEach(function(v,i){
   
    v.addEventListener('click',function(){
        
        loginmenu[index].classList.remove('active')

        v.classList.add('active')

        look[index].classList.remove('show')

        look[i].classList.add('show')

        index=i



    })

})

btn.addEventListener('click',function(){
    location.href='../home/home.html'
})



